-
Home
-
EWWW Image Optimizer
-
8.3.1 (latest)
-
Code
-
Classes
- Background_Process
| Total Complexity |
84 |
| Dependencies |
0 |
| Dependents |
0 |
| Total lines |
670 |
| Lines of code |
305 |
| Logical lines of code |
181 |
| Comment lines |
274 |
| Methods |
30 |
| Properties |
12 |
Methods 30
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| handle() |
A |
48 |
11 |
33 |
| push_to_queue() |
A |
51 |
8 |
25 |
| update_lock() |
S |
53 |
5 |
23 |
| maybe_handle() |
S |
53 |
5 |
22 |
| get_memory_limit() |
S |
59 |
5 |
14 |
| get_lock_dir() |
S |
64 |
5 |
10 |
| get_process_lock() |
S |
58 |
3 |
16 |
| add_healthcheck_cron_schedule() |
S |
60 |
3 |
12 |
| is_disk_lock_valid() |
S |
61 |
3 |
11 |
| handle_cron_healthcheck() |
S |
65 |
3 |
11 |
| is_key_valid() |
S |
63 |
3 |
10 |
| delete() |
S |
61 |
2 |
14 |
| get_batch() |
S |
61 |
2 |
11 |
| dispatch() |
S |
67 |
2 |
8 |
| update() |
S |
70 |
2 |
6 |
| is_process_running() |
S |
69 |
2 |
7 |
| generate_key_suffix() |
S |
64 |
2 |
9 |
| unlock_process() |
S |
69 |
2 |
7 |
| memory_exceeded() |
S |
64 |
2 |
9 |
| time_exceeded() |
S |
65 |
2 |
8 |
| schedule_event() |
S |
72 |
2 |
5 |
| clear_scheduled_event() |
S |
71 |
2 |
6 |
| __construct() |
S |
66 |
1 |
8 |
| count_queue() |
S |
74 |
1 |
4 |
| is_queue_empty() |
S |
80 |
1 |
3 |
| process_lock_file() |
S |
79 |
1 |
3 |
| complete() |
S |
78 |
1 |
4 |
| cancel_process() |
S |
69 |
1 |
6 |
| task() |
S |
100 |
1 |
0 |
| failure() |
S |
100 |
1 |
0 |